package cate.game.activity.godequip;

import cate.game.activity.LogDetail;
import easy.java.dev.note.NoteField;

import java.util.ArrayList;
import java.util.List;

public class GodEquipDrawLog {
    @NoteField(value = "商店id")
    public int activityId;

    @NoteField(value = "日志")
    public List<LogDetail> logs;

    public GodEquipDrawLog() {
    }

    public GodEquipDrawLog(int activityId) {
        this.activityId = activityId;
    }

    public void initialize() {
        if (logs == null) {
            logs = new ArrayList<>();
        }
        for (LogDetail detail : logs) {
            detail.initialize();
        }
    }
}
